package com.lagou.edu.bean;

import lombok.Data;
import lombok.ToString;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 保存访问次数
 * @Author 梅松
 * @Date 2021/10/24 16:32
 */
@Data
public class LimitTimes {

    private Date beginTime;
     public  int times;

    @Override
    public String toString() {
        return "LimitTimes{" +
                "beginTime=" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(beginTime) +
                ", times=" + times +
                '}';
    }
}
